package com.lxt.service;

import com.lxt.pojo.Employee;
import com.lxt.pojo.VO.EmployeeVO;

import java.util.List;

/**
 * @author kevin.lv
 * @date 2023/8/24 14:20
 */
public interface HrService {


    /**
     * 查询员工信息
     *
     * @param empId
     * @return
     */
    public Employee queryEmployeeInfo(int empId);

    /**
     * 查询用户信息
     *
     * @param employee
     * @return
     */
    public List<Employee> getListInfo(Employee employee);

    /**
     * 分页查询用户信息
     *
     * @param employeeVO
     * @return
     */
    public List<Employee> getPGListInfo(EmployeeVO employeeVO);

    /**
     * 新增员工
     *
     * @param employee
     * @return
     */
    public int addEmployeeInfo(Employee employee);

    /**
     * 修改员工信息
     *
     * @param employee
     * @return
     */
    public int updateEmployeeInfo(Employee employee);

    /**
     * 删除员工信息
     *
     * @param empId
     * @return
     */
    public int delEmployeeInfo(int empId);

}
